<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("basePath", basePath);

String outPatientVisitInfoJson= (String)request.getAttribute("outPatientVisitInfoJson");
String success= (String)request.getAttribute("success");
%>
<link href="${basePath}/static/css/Pigeonhole/Pigeonhole_list.css"
	rel="stylesheet" type="text/css">
<link rel="stylesheet"
	href="${basePath}/static/css/medicalRecord_Search/medicalSearch.css" />
<script type="text/javascript"
	src="${basePath}/static/publics/assets/jqPaginator/jqPaginator.js"></script>
	<script type="text/javascript" src="${basePath}assets/js/echarts.js"></script>
<div class="list_NR">
	<div class="loc">
		<h3>统计报告</h3>
		<ul class="loc_loc">门诊满意度对比分析
		</ul>
	</div>

	<div class="list_con_table">
	
	<form id="infoListForm">
<table style="width:100%;" cellpadding="0" cellspacing="0" id="table">
<tbody>
	<tr>
		
		<td colspan="6" style="text-align:right;">
		    <input type="button" value="保存" class="btn"  onclick="saveOutSatisContrastAnalysisInfo()">
		    <input type="button" value="导出" class="btn"  onclick="exportBedIndexInfo()">
		</td>
	</tr>
			
			
			<tr>
			   <td class="tdLabel_7" style="width:10%">患者满意度对比说明</td>
				<td class="tdLabel_8" colspan="7">
					<textarea style="width:95%;height:120px" id="note">${outSatisContrastAnalysisInfo.analysisNote}</textarea>
				</td>
			</tr>
			
			<tr>
			 
				
			
				<td class="tdLabel_8" colspan="7" style="width:780px">
					<div style="height:auto;">
							<table class="Search_tableList" style="margin:0 auto;" id="diseaseDiagTable" cellpadding="0" cellspacing="0">
		
							<thead>
							<tr>
								<td colspan="5" style="text-align:center;font-size:16px;">
									门诊患者满意度调查对比分析
								</td>
							</tr>
				
							<tr>
								<td class="tdLabel_4" width="50%"></td>
								<td class="tdLabel_4" width="12%">${statisticalReportParam.statics1Name}</td> 
								<td class="tdLabel_4" width="12%">${statisticalReportParam.statics2Name}</td> 
								<td class="tdLabel_4" width="12%">增减（%）</td>
								<td class="tdLabel_4" width="12%">增幅（%）</td>
								
								
							</tr>
							</thead>
							<tbody >
				              <c:forEach var="record"   items="${outSatisContrastAnalysisInfo.outSatisContrastAnalysisRecord}">
								<tr>
								<td class="tdLabel_8"><input class="input_box" type="text" style="width:100%" value='${record.desc}' /></td>
								<td class="tdLabel_8"><input class="input_box" type="text" style="width:100%" value='${record.monthRate}' /></td> 
								<td class="tdLabel_8"><input class="input_box" type="text" style="width:100%" value='${record.othrtRate}' /></td> 
								<td class="tdLabel_8"><input class="input_box" type="text" style="width:100%" value='${record.fluctuate}' /></td>
								<td class="tdLabel_8"><input class="input_box" type="text" style="width:100%" value='${record.range}' /></td>
							     </tr>
                              </c:forEach>
							</tbody>
							</table>
						</div>
				</td>
			</tr>
			
			
			
		
			

		
		</tbody>
</table>
</form>
</div>
</div>
	





<script>
//保存
function saveOutSatisContrastAnalysisInfo(){
   var note = $("#note").val();
	$.ajax({
	    type:"post",
	    data:{note:note},
	    url:"${basePath}/report/saveOutSatisContrastAnalysisInfo",
	    success:function(data){
	    	layer.alert(data.msg,{icon:1});
	    }
	})

}


</script>